package com.mineplatform.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;




@Entity
@Table(name = "m_token")
public class M_Token {

	public Date getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(Date createTime) {
		CreateTime = createTime;
	}

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getUserId() {
		return UserId;
	}

	public void setUserId(String userId) {
		UserId = userId;
	}

	public String getScope() {
		return Scope;
	}

	public void setScope(String scope) {
		Scope = scope;
	}

	@Column
	@Temporal(TemporalType.TIMESTAMP)
	Date CreateTime;
	
	@Id 
    String Id;
	
	@Column
    String UserId;
	
	@Column
    String Scope;
	
	
	public Boolean getEnable() {
		return Enable;
	}

	public void setEnable(Boolean enable) {
		Enable = enable;
	}

	@Column
	Boolean Enable;
}
